import django
from django.contrib import admin

# Register your models here.
#账号密码：root，root
# app01/admin.py:
# app01/admin.py:
from m.models import Content


class ContentAdmin(admin.ModelAdmin):
    # 指定后台网页要显示的字段
    list_display = ["id", 'title',"content"]



# 注册Model类
admin.site.register(Content,ContentAdmin)

admin.site.site_title="导购管理"
admin.site.site_header="导购管理"
admin.site.index_title="导购管理"